SonED2 Tile Editor


The tile editor is used for editing each component of the tiles that make up normal gameplay levels, including the palette colors and solidity maps.

Levels are built in several steps, beginning with 8x8 Tile graphics. The 64-color palette is divided into four sub-palettes (referred to here as "rows"), and each 8x8 Tile may only use colors from any one of those rows (for a total of 15 color choices, with the first entry in each row being transparent). In the Sonic the Hedgehog games, the first color entry on row 3 controls the "Backdrop Color". This is the color that appears where nothing else is drawn to the screen, including the screen borders displayed by some system versions, and can be taken advantage of to use a full set of 16 colors for the background.

The Tiles are then formed into 16x16 "Blocks", which contain drawing direction and palette row ID data for each Tile, and the ID of the Solidity Height Map that should be used to set which parts of the block are "solid".

The Blocks are used to build "Chunks", which are either 256x256 or 128x128, depending on the project settings and the target game. These Chunks contain data for each Block that defines drawing direction and the type of reaction a player should have to the Block's assigned Height Map.

Finally, the Chunks are used to build the level layout.

Solidity Height Maps define the parts of a Block that are "solid" (that the player can collide with), and are based on the idea that each pixel column along the width of a Block can be filled up to a certain height, where the player will be made to stand on it (or, if it is beside him, be made to act as if it is a solid wall). The Height Maps also contain Angle values that determine how gravity affects the player's velocity while he is standing on or running along the Height Map. This data, however, does not have any affect on the player unless the "Solidity Type" of the Block is set within the Chunk.

All of the above-described data can be created by altering existing data, by starting from scratch within the editor, or the Tile art and palette data can be created outside of SonED2 and imported from an image, however, the image must be set up as described in the art importing document to obtain useful results.

This editing mode is actually made up of several parts, each with their own functions:

  • General Controls

  • Tileset Controls

  • Tile Census

  • Tile Selector

  • Palette Editor

  • Tile Editor

  • Block Editor

  • Chunk Editor

  • Solidity Editor


    General Controls



    Tileset Controls



    Tile Census



    Tile Selector



    Palette Editor



    Tile Editor



    Block Editor



    Chunk Editor



    Solidity Editor